import Vue from 'vue'
import Router from 'vue-router'
import page0 from '@/components/page0'
import page1 from '@/components/page1'
import page2 from '@/components/page2'
import page3 from '@/components/page3'
import page4 from '@/components/page4'
import page5 from '@/components/page5'
import page6 from '@/components/page6'
import page7 from '@/components/page7'
import page8 from '@/components/page8'
import page9 from '@/components/page9'
import page10 from '@/components/page10'
import page11 from '@/components/page11'
import page12 from '@/components/page12'
import page13 from '@/components/page13'
import page14 from '@/components/page14'
import page15 from '@/components/page15'
import page16 from '@/components/page16'
import page17 from '@/components/page17'
import page18 from '@/components/page18'

Vue.use(Router)

export default new Router({
    routes: [
        { path: '/', name: 'page0', component: page0 },
        { path: '/page1/:redIndex', name: 'page1', component: page1 },
        { path: '/page1', name: 'page1', component: page1 },
        { path: '/page2', name: 'page2', component: page2 },
        { path: '/page3', name: 'page3', component: page3 },
        { path: '/page4', name: 'page4', component: page4 },
        { path: '/page5', name: 'page5', component: page5 },
        { path: '/page6', name: 'page6', component: page6 },
        { path: '/page7', name: 'page7', component: page7 },
        { path: '/page8', name: 'page8', component: page8 },
        { path: '/page9', name: 'page9', component: page9 },
        { path: '/page10', name: 'page10', component: page10 },
        { path: '/page11', name: 'page11', component: page11 },
        { path: '/page12', name: 'page12', component: page12 },
        { path: '/page13', name: 'page13', component: page13 },
        { path: '/page14', name: 'page14', component: page14 },
        { path: '/page15', name: 'page15', component: page15 },
        { path: '/page16', name: 'page16', component: page16 },
        { path: '/page17', name: 'page17', component: page17 },
        { path: '/page18', name: 'page18', component: page18 }
    ]
})